package com.ag.oa.core.entity.vo;

import java.io.Serializable;
import java.util.List;

/**
 * Author:   wjc
 * Date:     2021/10/25
 * Description: 任务类
 */
public class TaskVO implements Serializable {

    private static final long serialVersionUID = -1488949377344873996L;

    public TaskVO() {
    }

    public TaskVO(Integer taskId, String taskName) {
        this.taskId = taskId;
        this.taskName = taskName;
    }

    private Integer taskId;
    private Integer projectId;
    private Integer taskType;
    private String taskName;
    private Integer taskScore;
    private String taskDesc;
    private Integer taskStatus;
    private Integer taskPriority;

    private String beginTime;
    private String endTime;
    private String created;
    private Integer createdBy;
    private Integer updatedBy;

    private List<Integer> taskStatusList; // 多个项目状态，目前用于任务列表查询使用

    private Integer userId;
    private Integer recieveType; // 任务领取类型 0：自己点击领取 1：负责人指派任务
    private Integer completeStatus; // 个人的任务完成状态 0：未完成 1：已完成
    private String completeDesc;
    private Integer completeScore;
    private Integer completeType; // 任务完成类型 0：自己点击完成 1：负责人强制完成
    private Integer taskResp; // 任务中的职责 0：发起人 1：负责人 2：普通成员

    private String projectName;
    private String username;
    private Integer isRecieve; // 是否领取了该任务 0：否 1：是

    private List<Integer> userIds; // 前端选中的多个用户id
    private Integer userMixedStatus; // 职责与完成情况的，混合状态(1: 责任人 2：成员 3：已完成)
    private Integer projectStatus; // 项目状态 1：未启动 2：运行 3：暂停 4：完成 5：关闭
    private List<TaskVO> subTaskArr; // 子任务集合对象


    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Integer getTaskScore() {
        return taskScore;
    }

    public void setTaskScore(Integer taskScore) {
        this.taskScore = taskScore;
    }

    public String getTaskDesc() {
        return taskDesc;
    }

    public void setTaskDesc(String taskDesc) {
        this.taskDesc = taskDesc;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Integer getTaskPriority() {
        return taskPriority;
    }

    public void setTaskPriority(Integer taskPriority) {
        this.taskPriority = taskPriority;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Integer getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Integer updatedBy) {
        this.updatedBy = updatedBy;
    }

    public List<Integer> getTaskStatusList() {
        return taskStatusList;
    }

    public void setTaskStatusList(List<Integer> taskStatusList) {
        this.taskStatusList = taskStatusList;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRecieveType() {
        return recieveType;
    }

    public void setRecieveType(Integer recieveType) {
        this.recieveType = recieveType;
    }

    public Integer getCompleteStatus() {
        return completeStatus;
    }

    public void setCompleteStatus(Integer completeStatus) {
        this.completeStatus = completeStatus;
    }

    public String getCompleteDesc() {
        return completeDesc;
    }

    public void setCompleteDesc(String completeDesc) {
        this.completeDesc = completeDesc;
    }

    public Integer getCompleteScore() {
        return completeScore;
    }

    public void setCompleteScore(Integer completeScore) {
        this.completeScore = completeScore;
    }

    public Integer getCompleteType() {
        return completeType;
    }

    public void setCompleteType(Integer completeType) {
        this.completeType = completeType;
    }

    public Integer getTaskResp() {
        return taskResp;
    }

    public void setTaskResp(Integer taskResp) {
        this.taskResp = taskResp;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getIsRecieve() {
        return isRecieve;
    }

    public void setIsRecieve(Integer isRecieve) {
        this.isRecieve = isRecieve;
    }

    public List<Integer> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<Integer> userIds) {
        this.userIds = userIds;
    }

    public Integer getUserMixedStatus() {
        return userMixedStatus;
    }

    public void setUserMixedStatus(Integer userMixedStatus) {
        this.userMixedStatus = userMixedStatus;
    }

    public Integer getProjectStatus() {
        return projectStatus;
    }

    public void setProjectStatus(Integer projectStatus) {
        this.projectStatus = projectStatus;
    }

    public List<TaskVO> getSubTaskArr() {
        return subTaskArr;
    }

    public void setSubTaskArr(List<TaskVO> subTaskArr) {
        this.subTaskArr = subTaskArr;
    }
}
